/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

.timepicker.dropdown-menu {
    padding: 0 4px;
    line-height: 30px;
    z-index: 2000;

    button {
        outline: none;
        border: 0;
    }

    tbody button {
        height: 100%;
        padding: 6px;
    }

    thead, tfoot {
        th {
            text-align: center;
            line-height: 0;
        }

        .btn.btn-default {
            float: none !important;
            display: inline-block;
            margin-right: 0;

            &:active {
                box-shadow: none;
                background: none;
            }

            &:before {
                content: '';

                display: block;
                width: 10px;
                height: 10px;

                border: 2px solid #757575;
                transform: rotate(45deg);
            }

            &:hover {
                background: none;
            }
        }
    }

    thead {
        th {
            padding-top: 10px;
        }

        .btn.btn-default {
            &:before {
                border-width: 2px 0 0 2px;
            }
        }
    }

    tfoot {
        th {
            padding-top: 2px;
            padding-bottom: 10px;
        }

        .btn.btn-default {
            &:before {
                border-width: 0 2px 2px 0;
            }
        }
    }
}
